Http Manager
open class HttpManager constructor(userAgent: String, queryString: String? = null, proxyConfig: <Error class: unknown class>? = null, customDns: <Error class: unknown class>? = null, highTimeouts: Boolean = false, mirrorChooser: MirrorChooser = MirrorChooserRandom(), httpClientEngineFactory: <Error class: unknown class><out <Error class: unknown class>> = getHttpClientEngineFactory(
customDns
))
Constructors
Link copied to clipboard
constructor(userAgent: String, queryString: String? = null, proxyConfig: <Error class: unknown class>? = null, customDns: <Error class: unknown class>? = null, highTimeouts: Boolean = false, mirrorChooser: MirrorChooser = MirrorChooserRandom(), httpClientEngineFactory: <Error class: unknown class><out <Error class: unknown class>> = getHttpClientEngineFactory(
customDns
))
Functions
Link copied to clipboard
suspend fun get(request: DownloadRequest, skipFirstBytes: Long? = null, receiver: <Error class: unknown class>)
Link copied to clipboard
Gets the InputStream for the given request as a DigestInputStream, so you can verify the SHA-256 hash. If you don't need to verify the hash, use getInputStream instead.
Link copied to clipboard